package com.kc.data.common.domain.vo;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Size;

/**
 * @ClassName YsUserResetPasswordVO
 * @Description 用户重置密码
 * @Author wangdongliang
 * @Date 2021/4/28 11:42
 */
@Data
public class YsUserResetPasswordVO {
//    /*旧密码*/
//    private String oldPass;
    /*新密码*/
    @NotEmpty(message = "新密码不能为空")
    @Size(min = 8,max = 16,message = "密码长度不合法")
    private String newPass;
    /*确认密码*/
    @NotEmpty(message = "确认密码不能为空")
    @Size(min = 8,max = 16,message = "确认长度不合法")
    private String confirmPass;
}
